import Vue from 'vue'
import App from './App.vue'
Vue.config.productionTip = false
import "./assets/tailwind.css"
import VueRouter from 'vue-router'
import router from './routers/index'
import axios from './http'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
//引入vuex
import store from './store'
import { Tag, Form, Divider, Icon, Tab, Tabs, DatetimePicker, Picker, Button, Col, Row, RadioGroup, Radio, List, Checkbox, CheckboxGroup, Popup, Cell, Field, Toast, Empty, Tabbar, TabbarItem, Swipe, SwipeItem } from 'vant';
Vue.use(ElementUI);
Vue.use(Button)
Vue.use(Col)
Vue.use(Row)
Vue.use(Radio)
Vue.use(List)
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(RadioGroup);
Vue.use(Popup);
Vue.use(Cell);
Vue.use(Field);
Vue.use(Toast);
Vue.use(Empty);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Picker);
Vue.use(Tag);
Vue.use(Form);
Vue.use(Field);
Vue.use(DatetimePicker);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Divider);
Vue.use(Icon);
//应用插件
Vue.use(VueRouter)
Vue.prototype.$Axios = axios
new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
